#ifndef ResultAttribute_H
#define ResultAttribute_H

#include "Container.h"

namespace XpsAssets
{

class ResultAttribute
{
private:
	MatchMode	m_matchMode;
	int			m_value;
	int			m_tolerance;

public:

	ResultAttribute ()
	{
		m_matchMode = RANGE;
		m_value = 50;
		m_tolerance = 5;
	}

	void setMatchMode(int mm) { m_matchMode = (MatchMode) mm; };
	MatchMode matchMode() { return m_matchMode; };
	void setTolerance(int t) { m_tolerance = t; };
	int tolerance() { return m_tolerance; };
	void setValue(int v) { m_value = v; };
	int value() { return m_value; };
};

}

#endif